package com.topscore.uke.mvp.contractors;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.topscore.uke.database.entities.SearchHistoryItem;

import java.util.List;

/**
 * Created by 71468 on 2018/3/20.
 */

public interface SearchHistoryContractor {
    interface Model{
        List<SearchHistoryItem> getHistories();
        void insertWord(String word);
    }

    interface View{
        BaseQuickAdapter getRecyclerAdapter();
    }

    interface Presenter{
        void getSearchHistory();

        void insertSearchWord(String searchWord);
    }
}
